<template>
  <div id="app">
    <router-view />
  </div>
</template>
<script>
export default {
  mounted() {
    var locationName = window.location.pathname;
    if (locationName !== "/login") {
      var is_login = this.$cookies.get("gxsf_login");
      if (is_login != "true") {
        window.location.href = "/login";
      } else {
        console.log("login is true");
      }
    }
  },
  
};
</script>

<style>
* {
  margin: 0;
  padding: 0;
}
a {
  text-decoration: none;
  color: #dcdfe6;
}
a:hover {
  color: #409eff;
}
text-center {
  text-align: center;
}
.el-header {
    background-color: #B3C0D1;
    color: #333;
    line-height: 60px;
  }

  .el-aside {
    color: #333;
  }
</style>
